﻿@model ChangePasswordModel
@using Nop.Web.Models.Customer;
@{
    Layout = "~/Views/Shared/_ColumnsTwo.cshtml";

    //title
    Html.AddTitleParts(T("PageTitle.Account").Text);
}
@section left
{
    @Html.Partial("MyAccountNavigation", Model.NavigationModel, new ViewDataDictionary())
}
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()

    <div class="features_items my-account-page"><!--features_items-->
        <h2 class="title text-center">@T("Account.MyAccount") - @T("Account.ChangePassword")</h2>
        <div class="custom-page-box-div">
            <div class="message-error">
                    @Html.ValidationSummary(true)
                </div>
                @if (!String.IsNullOrEmpty(Model.Result))
                {
                    <div class="result">
                        @Model.Result
                    </div>
                }
                <div class="fieldset">
                    <div class="">
                        <div class="form-group row">
                        <div class="col-md-2 ">
                            @Html.LabelFor(model => model.OldPassword, new { @class = "" }, ":")
                        </div>
                            <div class="col-md-6">
                                @Html.TextBoxFor(model => model.OldPassword, new { @class = "gray-input" , Type="password"})
                            </div>
                            <div class="col-md-2">
                                @Html.RequiredHint()
                                @Html.ValidationMessageFor(model => model.OldPassword)
                            </div>
                        </div>
                        <div class="form-group row">
                        <div class="col-md-2 ">
                            @Html.LabelFor(model => model.NewPassword, new { @class = "" }, ":")
</div>
                            <div class="col-md-6">
                                @Html.TextBoxFor(model => model.NewPassword, new { @class = "gray-input" , Type="password"})
                            </div>
                            <div class="col-md-2">
                                @Html.RequiredHint()
                                @Html.ValidationMessageFor(model => model.NewPassword)
                            </div>
                        </div>
                        <div class="form-group row">
                        <div class="col-md-2 ">
                            @Html.LabelFor(model => model.ConfirmNewPassword, new { @class = "" }, ":")
                        </div>
                            <div class="col-md-6">
                                @Html.TextBoxFor(model => model.ConfirmNewPassword, new { @class = "gray-input" , Type="password"})
                            </div>
                            <div class="col-md-2">
                                @Html.RequiredHint()
                                @Html.ValidationMessageFor(model => model.ConfirmNewPassword)
                            </div>
                        </div>
                    </div>
                </div>
                <div class="buttons">
                    <input type="submit" class="button-1 btn btn-primary pull-right" value="@T("Account.ChangePassword.Button")" />
                </div>
        </div>
    </div>




    
}